var should = require('should');
var heroTalentHandler = require('../../../app/servers/user/handler/heroTalentHandler.js');
var roleModel = require('../../../app/models/roleModel');
var config = require('../../config');

suite('测试heroTalentHandler', function () {
    suite('receiveReward', function () {
        test('领取vip奖励', function (done) {
            var msg = {};
            msg.talent_id = 1;
            var session = {};
            session.uid = config.role_id;

            var talent_handler = new heroTalentHandler();
            talent_handler.setTalent(msg, session, function (err, res) {
                console.log('res:', res);
                done();
            });
        });
    });
});
